InAppConfig

@Serializable(with = InAppConfigSerializer::class)
class InAppConfig(val optOutActivities: Set<Class<*>>?, val isShowInAppInNewActivityEnabled: Boolean)

Since

11.0.00

Parameters

optOutActivities

Set of Class instances for Activities on which in-app should not be shown.

isShowInAppInNewActivityEnabled

If true, SDK does not directly attach the in-app to the application's activity. The default value of this flag is false.

Constructors

Link copied to clipboard
constructor(optOutActivities: Set<Class<*>>?)
constructor(isAdditionalActivityEnabled: Boolean)
constructor(optOutActivities: Set<Class<*>>?, isShowInAppInNewActivityEnabled: Boolean)

InApp Configuration Object with optOutActivities and isShowInAppInNewActivityEnabled

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If true, SDK does not directly attach the in-app to the application's activity. The default value of this flag is false.

Link copied to clipboard

Set of class objects which extends AppCompatActivity

Functions

Link copied to clipboard
Link copied to clipboard
fun addScreenName(clazz: Class<*>)

Add a screen name to the block list.

Link copied to clipboard
fun addScreenNames(clazzSet: Set<Class<*>>)

Add a set of screen name to the block list.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String